package com.example.boot.webservice.provider.service;

import com.example.boot.webservice.provider.bean.User;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService(name = "UserService", targetNamespace = "http://server.provider.webservice.boot.example.com")
public interface UserService {
    @WebMethod
    User getUser(Integer id);

    @WebMethod
    User addUser(User user);
}
